<html>
<head>
    <title>JSP JavaMail Example </title>
</head>

<body>
    
    <%@ page import="util.*" %>
    
    <%
    boolean ok = false;
    ok = Mail.sendMail("Your payment has been made", "sam2ng@yahoo.com", "Captain hook's Purchase Info");
    if (ok) {
    out.println("Mail was sent to client!");
    }
    
    %>
    
</body>
</html>
